|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.interactions.core.support.Widget
org.eclipse.vtp.framework.interactions.voice.vxml.Action
org.eclipse.vtp.framework.interactions.voice.vxml.ActionSet
public class ActionSet
The ActionSet class bundles multiple Action
instances so they may be added to a container en mass instead of
individually.
The Action instances contained by an instance of this class
are output in the order in which they were added.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
ActionSet()
Constructs a new ActionSet instance that is initially empty. |
|
| Method Summary | |
|---|---|
void |
addAction(Action action)
Adds the action to this set. |
Action[] |
getActions()
Returns the list of actions in this set. |
void |
removeAction(Action action)
Removes the action from this set. |
protected void |
writeActions(org.xml.sax.ContentHandler outputHandler)
Write the actions in this set to the specified content handler. |
void |
writeWidget(org.xml.sax.ContentHandler outputHandler)
Writes the content of this widget to an XML content handler. |
| Methods inherited from class org.eclipse.vtp.framework.interactions.core.support.Widget |
|---|
toString, writeAttribute, writeChildren, writeChildren, writeWidget, writeWidget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ActionSet()
ActionSet instance that is initially empty.
| Method Detail |
|---|
public Action[] getActions()
public void addAction(Action action)
throws java.lang.NullPointerException
action - The action to add.
java.lang.NullPointerException - If the supplied action is null.
public void removeAction(Action action)
throws java.lang.NullPointerException
action - The action to remove.
java.lang.NullPointerException - If the supplied action is null.
public void writeWidget(org.xml.sax.ContentHandler outputHandler)
throws java.lang.NullPointerException,
org.xml.sax.SAXException
Widget
writeWidget in class WidgetoutputHandler - The handler to write this widget to.
java.lang.NullPointerException - If the supplied content handler is
null.
org.xml.sax.SAXException - If the writing of this widget fails.
protected void writeActions(org.xml.sax.ContentHandler outputHandler)
throws java.lang.NullPointerException,
org.xml.sax.SAXException
outputHandler - The content handler to write to.
java.lang.NullPointerException - If the supplied content handler is
null.
org.xml.sax.SAXException - If the writing of one of the actions fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||